//
//  WebViewController.swift
//  BusinessIOS
//
//  Created by Rain on 2018/12/26.
//  Copyright © 2018 XingJian Li. All rights reserved.
//

import UIKit

class WebViewController: UIViewController {
    
    var numInteger : String!
    
   
    override func viewDidLoad() {
        super.viewDidLoad()
        self.title = "查看详情"
        
        let webView = UIWebView(frame: CGRect(x: 0, y: 0, width: self.view.frame.size.width, height: self.view.frame.size.height - 49))
        
        let url = NSURL(string: "http://wwwqjzsyzcscom.aykj.net.cn/index/article/articleView?articleId=\(numInteger!)")
        
        webView.loadRequest(NSURLRequest(url: url! as URL) as URLRequest)
        
        self.view.addSubview(webView)
        

        

 
    }
    


}
